<!DOCTYPE html>
<html class="theme--">
<head>
<title>Anonymous View - Startpage.com</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="dns-prefetch" href="//session.eu-proxy.startpage.com">
<link rel="dns-prefetch" href="//ws.eu-proxy.startpage.com">

<link rel="stylesheet" href="https://eu.startpage.com/assets/css/index.css?v=519cd924">
<link rel="manifest" href="https://eu.startpage.com/assets/manifest.json?v=4e320e50"><link rel="icon" type="image/png" sizes="70x70" href="https://eu.startpage.com/assets/images/logo-70x70.png?v=3de27adb"><link rel="icon" type="image/png" sizes="32x32" href="https://eu.startpage.com/assets/images/logo-32x32.png?v=f075b724"><link rel="apple-touch-icon" sizes="180x180" href="https://eu.startpage.com/assets/images/logo-180x180.png?v=48842639"><link rel="icon" type="image/x-icon" href="https://eu.startpage.com/assets/images/favicon.ico?v=16f03771"><meta name="msapplication-TileColor" content="#da532c">

</head>
<body>
<div class="frame-wrapper">
  <section class="proxy-loader" >
    <img src="https://eu.startpage.com/graphics/blink4.gif" alt="loading" width="300"/>
  </section>
  
  <div class="iframe-container">
    <div id='proxy_service' class="proxy-wrapper enhanced" data-proxy-wrapper proxy-log-requestData='{"rl":null,"l":"english","cat":"","service":"proxy"}' proxy-log-endpoint="https://eu-browse.startpage.com/do/sfpl" proxy-domain='.*.startpage.com' proxy-view="https://eu.startpage.com/do/avtc?a=5295&g=1267&l=english&anticache=157410322436652">
    <h2 class="a11y-sr-only">Current website is shown in anonymous view</h2>
    <a class="a11y-sr-only" href="#anonymous-menu">Jump to the anonymous view menu</a>
    <noscript>
      <iframe frameborder="0" scrolling="yes" class="proxy-wrapper__content" height="100%" width="100%" src="https://session.eu-proxy.startpage.com/maPzZ3fMxBJqTCa4KqXy18mgA"> </iframe>
      <img class="a11y-sr-only" src='https://eu-browse.startpage.com/do/sfpl?cat=&rl=&service=proxy&img-rn=1&domain=startpage.com&l=english&anticache=157410322436657' border="0" width="1" height="1">
      </noscript>
    <script>
      document.write('<iframe id="sbframe" frameborder="0" scrolling="yes" class="proxy-wrapper__content" height="100%" width="100%" data-src="https://session.eu-proxy.startpage.com/maPzZ3fMxBJqTCa4KqXy18mgA" src_old_browser="https://error.eu-proxy.startpage.com/search/proxy/outdated-browser/" session-error-src="https://eu.startpage.com/search/proxy/anti-abuse/" style="display:none;"></iframe>');
    </script>
    <nav class="proxy-wrapper__actions scribble scribble--blue" data-proxy-wrapper-actions>
      <h2 class="proxy-wrapper__actions-title">Anonymous View<span class="proxy-wrapper__actions-brand"> by Startpage.com</span></h2>
      <ul class="list-inline proxy-wrapper__actions-list">
        <li>
          <a id="anonymous-menu" class="proxy-wrapper__actions-list-anchor" href="https://eu.startpage.com/en/search/proxy-help.html" title="About anonymous view " target="_blank">
          <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 32 32" width="32" height="32"><g class="nc-icon-wrapper"><path d="M16,0C7.178,0,0,7.178,0,16s7.178,16,16,16s16-7.178,16-16S24.822,0,16,0z M18,7c1.105,0,2,0.895,2,2 s-0.895,2-2,2s-2-0.895-2-2S16.895,7,18,7z M19.763,24.046C17.944,24.762,17.413,25,16.245,25c-0.954,0-1.696-0.233-2.225-0.698 c-1.045-0.92-0.869-2.248-0.542-3.608l0.984-3.483c0.19-0.717,0.575-2.182,0.036-2.696c-0.539-0.514-1.794-0.189-2.524,0.083 l0.263-1.073c1.054-0.429,2.386-0.954,3.523-0.954c1.71,0,2.961,0.855,2.961,2.469c0,0.151-0.018,0.417-0.053,0.799 c-0.066,0.701-0.086,0.655-1.178,4.521c-0.122,0.425-0.311,1.328-0.311,1.765c0,1.683,1.957,1.267,2.847,0.847L19.763,24.046z"></path></g></svg>
            <span class="proxy-wrapper__actions-list-anchor-title">Information</span>
          </a>
        </li>
        <li>
          <a id="unproxy" class="proxy-wrapper__actions-list-anchor" href="https://eu.startpage.com/search/proxy/something-wrong/" title="Leave anonymous view and visit original website" rel="noreferrer">
            <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 24 24" width="24" height="24"><title>logout</title><g class="nc-icon-wrapper"><path d="M18,22H6V2h12v2h2V1c0-0.552-0.448-1-1-1H5C4.448,0,4,0.448,4,1v22c0,0.552,0.448,1,1,1h14 c0.552,0,1-0.448,1-1v-3h-2V22z"/> <polygon data-color="color-2" points="23,12 16,6 16,11 9,11 9,13 16,13 16,18 "/></g></svg>
            <span class="proxy-wrapper__actions-list-anchor-title">Visit original website</span>
          </a>
        </li>
        <li class="proxy-wrapper__action-close" data-proxy-wrapper-trigger>
          <button class="button--link proxy-wrapper__actions-list-anchor" title="Hide this menu">
            <svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="-6 -6 24 24">
  <path d="M1481.65,1081.35l0.7-.7,8,8-0.7.7Z" transform="translate(-1480.16 -1079.16)" fill="#fff" stroke="#fff" stroke-width="1px" fill-rule="evenodd"></path>
  <path d="M1489.65,1080.65l0.7,0.7-8,8-0.7-.7Z" transform="translate(-1480.16 -1079.16)" fill="#fff" stroke="#fff" stroke-width="1px" fill-rule="evenodd"></path>
</svg>
          </button>
        </li>
      </ul>
    </nav>
  </div>
</div>

<script type="text/javascript">

var load_time;

window.addEventListener("message", function(event) {
    switch(event.data.type){
		case "widget_event":
			proxyPageReadyHandler(event);
	}
});

function isMutationObserverAPI() {
   return !(typeof window.WebKitMutationObserver === 'undefined' && typeof MutationObserver === 'undefined');
}

if(!isMutationObserverAPI()) {
	document.querySelector('#sbframe').src = document.querySelector('#sbframe').getAttribute('src_old_browser');
} else {
	document.querySelector('#sbframe').src = document.querySelector('#sbframe').getAttribute('data-src');
}

var response_text = '';

var ajaxObj = function () {
	var xhr;
	if(typeof XMLHttpRequest !== 'undefined') {
		xhr = new XMLHttpRequest();
	}
	else {
		var versions = ['MSXML2.XmlHttp.5.0', 'MSXML2.XmlHttp.4.0', 'MSXML2.XmlHttp.3.0', 'MSXML2.XmlHttp.2.0', 'Microsoft.XmlHttp']
			for(var i = 0, len = versions.length; i < len; i++) {
				try {
					xhr = new ActiveXObject(versions[i]);
					break;
				}
				catch(e){}
		}
	}
  
	xhr.onreadystatechange = function() {
		if (xhr.readyState == xhr.DONE) {   // XMLHttpRequest.DONE == 4
			if (xhr.status == 200) {
				response_text = xhr.responseText;
		    }
      		else if (xhr.status == 400) {
				// Something bad
			}
			else {
				// Something bad
			}
		}
	};
	return xhr;
};

function flattenObj (obj) {
	var encodedString = '';
	for (var prop in obj) {
		if (obj.hasOwnProperty(prop)) {
			if (encodedString.length > 0) {
				encodedString += '&';
			}
			encodedString += encodeURI(prop + '=' + obj[prop]);
		}
	}
	return encodedString;
};

function callUrl (url, data) {
	var xhr = ajaxObj();
    //encode data
    var data_plain = flattenObj(data);
	xhr.open('POST', url, false);
	xhr.setRequestHeader('Content-Type', 'application/x-www-form-urlencoded');
	try {
		xhr.send(data_plain);
	}
	catch(e) {
		return '';
	}
	return response_text;
};


if (typeof window.addEventListener != 'undefined') {
	window.addEventListener('message', frameLoaded, false);
}
function frameLoaded(e){
	var pattern = new RegExp(document.querySelector('#proxy_service').getAttribute('proxy-domain'));

	if (e.origin.match(pattern)) {
		if (typeof e.data == "object") {
			var loaded_url = e.data.params.url;
			// set unproxy url
			document.querySelector('#unproxy').href = loaded_url;
			
			// get the domain name
			// Note - here we are not taking care of subdomain part.
			matches = loaded_url.match(/https?:\/\/([^/]+).+/);
			domain = matches? matches[1]:null;
			  
		    //preparing data for logging
            log_data = JSON.parse(document.querySelector('#proxy_service').getAttribute('proxy-log-requestData'));
			log_data['domain'] = domain;
			var submit_url = document.querySelector('#proxy_service').getAttribute('proxy-log-endpoint');
	        // logging
	         var server_response_data;
	         if(e.data.params.event_type === "relocated"){
			  log_data['duration'] = Date.now() - load_time;
		      server_response_data = callUrl(submit_url, log_data);
			}
	        if (server_response_data == 1) {
				var error_src = document.querySelector('#sbframe').getAttribute('session-error-src');
				document.querySelector('#sbframe').src = error_src;
			}
		}
	}
}

function proxyPageReadyHandler(event){
	var proxy_loader = document.querySelector('.proxy-loader');
	var proxy_frame = document.querySelector('#sbframe');

	if(event.data.params.event_type === "relocated"){
		proxy_loader.style.display = 'none';
		proxy_frame.style.display = 'block';
	} else if(event.data.params.event_type === "relocate_start"){
		load_time = Date.now();
		proxy_loader.style.display = 'flex';
		proxy_frame.style.display = 'none';
	}
}


(function (win, doc) {
        'use strict';
         if (!doc.documentElement.classList.contains('fonts-loaded')) {
             if ('fonts' in doc && 'load' in doc.fonts) {
                var proximaNovaRegular = new FontFace('Proxima Nova', 'url("https://eu.startpage.com/assets/fonts/proximanova-regular-woff2.woff2?v=8bcad4b1") format("woff2"), url("https://eu.startpage.com/assets/fonts/proximanova-regular-woff.woff?v=7b0a8b8c") format("woff")', {weight: 400});
                var proximaNovaSemibold = new FontFace('Proxima Nova', 'url("https://eu.startpage.com/assets/fonts/proximanova-semibold-woff2.woff2?v=5babd914") format("woff2"), url("https://eu.startpage.com/assets/fonts/proximanova-semibold-woff.woff?v=da1a7963") format("woff")', {weight: 600});

      win.Promise
        .all([
          proximaNovaRegular.load(),
          proximaNovaSemibold.load(),
        ])
        .then(function() {
            doc.fonts.add(proximaNovaRegular);
            doc.fonts.add(proximaNovaSemibold);
            doc.documentElement.classList.add('fonts-loaded');
              },
              function(err) {
                  console.log('Error while observing font', err);
              }
        );
        } else {
             doc.documentElement.classList.add('fonts-loaded');
        }
       }
             }(window, document));


document.write('<img class="a11y-sr-only" src="' + document.querySelector('#proxy_service').getAttribute('proxy-view') + '" border=0 width=1 height=1>');
</script>
<script defer="" language="javascript" type="text/javascript" src="https://eu.startpage.com/assets/js/index.js?v=4663e208"></script>
</body>
</html>
